package org.qufenqi.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("account")
public class Account implements Serializable {

    @TableId(value = "userid" , type = IdType.AUTO)
    private int userId;
    @TableField(value = "username")
    private String username;
    @TableField(value = "password")
    private String password;
    @TableField(value = "name")
    private String name;
    @TableField(value = "phone")
    private String phone;
    @TableField(value = "email")
    private String email;
    @TableField(value = "studentid")
    private String studentId;
    @TableField(value = "idnumber")
    private String idNumber;
    @TableField(value = "creditcard")
    private String creditCard;
    @TableField(value = "cardtype")
    private String cardType;
    private String descn;
    private double usermoney;
}
